home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / tbav503.zip / MAKERESC.BAT < prev    next >
DOS Batch File  |  1992-12-29  |  2KB  |  66 lines

  1. @echo off
  2. echo off
  3. if %1X==X goto help1
  4. if not exist %1\Command.Com goto help2
  5. if exist TbScan.Exe goto tbavdir
  6. cd \tbav
  7. if not exist TbScan.Exe goto help3
  8. :tbavdir
  9. echo Copying TBAV utilities to drive %1, please wait...
  10. Copy TBAV.Exe %1 >nul
  11. Copy TBAV.Lng %1 >nul
  12. Copy TbScan.Exe %1 >nul
  13. Copy TbScan.Msg %1 >nul
  14. Copy VirScan.Dat %1 >nul
  15. Copy *.AVR %1 >nul
  16. Copy TbDriver.Exe %1 >nul
  17. Copy TbDriver.Lng %1 >nul
  18. Copy TbCheck.Exe %1 >nul
  19. Copy TbClean.Exe %1 >nul
  20. Copy TbUtil.Exe %1 >nul
  21. Copy Intro.Doc %1\Help!.Doc >nul
  22.  
  23. TbUtil store=%1\TbUtil.Dat
  24.  
  25. Echo Files=20 >%1\Config.Sys
  26. Echo Buffers=20 >>%1\Config.Sys
  27. If exist TbDriver.Exe Echo Device=TbDriver.Exe >>%1\Config.Sys
  28. If exist TbCheck.Exe Echo Device=TbCheck.Exe FullCRC >>%1\Config.Sys
  29.  
  30. Echo @echo off >%1\AutoExec.Bat
  31. Echo echo off >>%1\AutoExec.Bat
  32. Echo PATH=A:\ >>%1\AutoExec.Bat
  33. If exist TBAV.EXE Echo TBAV >>%1\AutoExec.Bat
  34. Echo Cls >>%1\AutoExec.Bat
  35. Echo Echo WARNING!!! >>%1\AutoExec.Bat
  36. Echo Echo If you suspect a virus, do NOT execute anything from the hard disk! >>%1\AutoExec.Bat
  37.  
  38. Echo The rescue diskette is almost ready!
  39. Echo TbSetup will now generate the Anti-Vir.Dat file for drive %1
  40. Pause
  41. TbSetup %1
  42.  
  43. CLS
  44. Echo The rescue diskette is now ready.
  45. Echo If you need to copy other utilities to the disk, you can do so now.
  46. Echo If you do so, do not forget to run TbSetup %1 when ready.
  47. Echo.
  48. Echo MAKE SURE THE DISK IN DRIVE %1 IS WRITE PROTECTED!
  49.  
  50. goto end
  51.  
  52. :help1
  53. Echo Please specify the drive which contains the rescue diskette!
  54. goto end
  55.  
  56. :help2
  57. Echo The disk in drive %1 should be bootable. You can make the disk
  58. Echo bootable by using the command: SYS %1
  59. goto end
  60.  
  61. :help3
  62. Echo Can not locate the TBAV utilities.
  63. Echo Please make the directory that contains the TBAV utilities current!
  64.  
  65. :end
  66.